﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Demo14_1_1
{
    internal class Program
    {
        private static ManualResetEvent mer = new ManualResetEvent(false); 
        static void Main(string[] args)
        {
            Console.WriteLine("false ,等待状态");
            Debugger.Break();
            mer.Set();
            Console.WriteLine("true 同行状态");
            Debugger.Break();
            mer.Reset();
           
            Console.WriteLine("false 等待状态");
            Debugger.Break();
        }
    }
}
